<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html">
   
   <h:head>
   		<style type="text/css">
			body {
			background:#02CBFF url("bgdegrade.jpg")top left repeat-x fixed;
       		}
        </style>
   </h:head>
        
    
    <h:body>
      <h:form id="formLogin">
        <h1><h:outputText id="bemVindo" value="Login da Escola Dinamica "/></h1>
        <h:panelGrid id="gridLoginSenha" columns="2">
        
          <h:outputText id="loginLabel" value="Usuario:"/>
          <h:inputText id="login" value="#{usuarioMB.usuario.login}"/>
         
          <h:outputText id="senhaLabel" value="Senha:"/>
          <h:inputSecret id="senha" value="#{usuarioMB.usuario.senha}"/>
        </h:panelGrid>
        <h:commandButton id="botao" value="Entrar" action="#{usuarioMB.doEfetuarLogin}"/><input type="reset" value="Limpar"/> 
       
      </h:form>
    </h:body>
</html>